import { baseService } from '@/request';

export function getChainList<T>(params: T) {
  return baseService({
    url: 'industrialChain/getProcesses',
    method: 'get',
    params,
  });
}

export function getDataBoard<T>(params: T) {
  return baseService({
    url: 'industrialChain/getIndustrialChainBySum',
    method: 'get',
    params,
  });
}

export function getDataBoardBar<T>(params: T) {
  return baseService({
    url: 'industrialChain/getIndustrialChainByMonth',
    method: 'get',
    params,
  });
}

export function getDataBoardPie<T>(params: T) {
  return baseService({
    url: 'industrialChain/getIndustrialChainByTop',
    method: 'get',
    params,
  });
}
export function getEntList<T>(params: T) {
  return baseService({
    url: 'industrialChain/getProcessesEnterprise',
    method: 'get',
    params,
  });
}

export function getTrends<T>(params: T) {
  return baseService({
    url: 'industrialChain/getDevelopments',
    method: 'get',
    params,
  });
}
